package com.yxw.yxnet_cd_center.customer_service.entity;



import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
//import lombok.EqualsAndHashCode;
//import com.baomidou.mybatisplus.annotation.TableId;
//import com.baomidou.mybatisplus.annotation.IdType;


@Data
@NoArgsConstructor
@TableName("yxcsc_base_channel_user")
//@EqualsAndHashCode(callSuper = true)
public class YxcscBaseChannelUserEntity   implements Serializable
{
    private static final long serialVersionUID = 91695381873365L;
    /**
    *主键id
    */
    @TableField("id")
    @NotNull(message = "主键id不可为空")
    @ApiModelProperty(value = "主键id")
    private Integer id;
    /**
    *渠道编码
    */
    @TableField("channel_code")
    @NotBlank(message = "渠道编码不可为空")
    @ApiModelProperty(value = "渠道编码")
    private String channelCode;
    /*
    *端口编码
    */
    @TableField("port_code")
    @ApiModelProperty(value = "端口编码")
    private String portCode;
    /*
    *服务类型编码
    */
    @TableField("service_type_code")
    @ApiModelProperty(value = "服务类型编码")
    private String serviceTypeCode;
    /**
    *人员ID
    */
    @TableField("user_id")
    @ApiModelProperty(value = "人员ID")
    private Long userId;
    /*
    *用户真实姓名
    */
    @TableField("user_name")
    @NotBlank(message = "用户真实姓名不可为空")
    @ApiModelProperty(value = "用户真实姓名")
    private String userName;       
    /*
    *登录状态：0-未登录 1-已登录
    */
    @TableField("login_status")
    @ApiModelProperty(value = "登录状态：0-未登录 1-已登录")
    private Integer loginStatus;
    /*
    *手机号
    */
    @TableField("mobile_phone")
    @ApiModelProperty(value = "手机号")
    private String mobilePhone; 
    /*
    *群ID
    */
    @TableField("flock_id")
    @NotNull(message = "群ID不可为空")
    @ApiModelProperty(value = "群ID")
    private Long flockId;
    /*
    *工作组ID
    */
    @TableField("group_id")
    @NotNull(message = "工作组ID不可为空")
    @ApiModelProperty(value = "工作组ID")
    private Long groupId;    
}

